package main

import "fmt"

func main() {
	const ELEMENTCOUNT = 1000
	srcData := make([]int, ELEMENTCOUNT)
	for i := 0; i < ELEMENTCOUNT; i++ {
		srcData[i] = i
	}
	copyData := make([]int, ELEMENTCOUNT)
	copy(copyData, srcData)
	//fmt.Println(copyData)
	copy(copyData, srcData[5:1000])
	fmt.Println(copyData)
	fmt.Println(len(copyData))
	for i := 0; i < 6; i++ {
		fmt.Println(copyData[i])
	}
}
